package com.bytz.modules.cms.user.constants;

import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

public class AuditBatchConstants {

    /**
     * 同步状态
     */
    public static class SyncStatus {
        /**
         * 等待同步
         */
        public static final String WAITING_SYNC = "0";
        /**
         * 已同步
         */
        public static final String SYNCED = "1";
    }

    /**
     * 状态
     */
    public static class Status {
        /**
         * 草稿
         */
        public static final String CAO_GAO = "CaoGao";
        /**
         * 待生效
         */
        public static final String DAI_SHENG_XIAO = "DaiShengXiao";
        /**
         * 已启用
         */
        public static final String YI_QI_YONG = "YiQiYong";
    }

    /**
     * 类型
     */
    public static class Type {
        /**
         * 产品线等级折扣变动
         */
        public static final String LINE_LEVEL = "LineLevel";
        /**
         * 产品优惠分类等级折扣变动
         */
        public static final String PRODUCT_CATEGORY = "ProductCategory";
        /**
         * 产品变动
         */
        public static final String PRODUCT = "Product";
        /**
         * 经销商-产品线等级变动
         */
        public static final String RESELLER_LEVEL = "ResellerLevel";
        /**
         * 经销商-商品变动
         */
        public static final String RESELLER_PRODUCT = "ResellerProduct";
        /**
         * 产品变动-产品其他变动-交期、最大订货量、成本、上下架状态
         */
        public static final String RESELLER_PRODUCT_OTHER_CHANGE = "ResellerProductOtherChange";
    }

    public static final Set<String> IGNORE_PROPERTY = new HashSet<>(Arrays.asList("id",
            "createBy",
            "updateBy",
            "status",
            "createByName",
            "createTime",
            "updateBy",
            "updateByName",
            "updateTime",
            "auditUsers",
            "nextAuditUsers",
            "procInstId",
            "submitTime",
            "completeTime"));
}